package com.woniuxy.credit_loans.product_liu.service.impl;

import com.woniuxy.credit_loans.entity.ModeOfRepayment;
import com.woniuxy.credit_loans.mapper.ModeOfRepaymentMapper;
import com.woniuxy.credit_loans.product_liu.service.ModeOfRepaymentService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class ModeOfRepaymentServiceImpl implements ModeOfRepaymentService {
    @Autowired
    private ModeOfRepaymentMapper modeOfRepaymentMapper;

    @Override
    public List<ModeOfRepayment> selectAllRepayment() {
        return modeOfRepaymentMapper.selectAllRepayment();
    }
}
